import React from 'react';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import Home from "./home/Home";
import Contactperson from "./contactperson/Contactperson";
import {CardStyleInterpolators} from "@react-navigation/stack";


const Tab = createBottomTabNavigator();

function TabNavigator() {
    return (
        <Tab.Navigator screenOptions={{headerShown: false,cardStyleInterpolator: CardStyleInterpolators.forHorizontalIOS,}}>
            <Tab.Screen name="我" component={Home} />
            <Tab.Screen name="联系人" component={Contactperson} />
        </Tab.Navigator>
    );
}

export default TabNavigator;
